package com.zk.nacosprovider.Entity;

import java.util.ArrayList;
import java.util.List;

public class fileExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public fileExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andFileidIsNull() {
            addCriterion("fileId is null");
            return (Criteria) this;
        }

        public Criteria andFileidIsNotNull() {
            addCriterion("fileId is not null");
            return (Criteria) this;
        }

        public Criteria andFileidEqualTo(String value) {
            addCriterion("fileId =", value, "fileid");
            return (Criteria) this;
        }

        public Criteria andFileidNotEqualTo(String value) {
            addCriterion("fileId <>", value, "fileid");
            return (Criteria) this;
        }

        public Criteria andFileidGreaterThan(String value) {
            addCriterion("fileId >", value, "fileid");
            return (Criteria) this;
        }

        public Criteria andFileidGreaterThanOrEqualTo(String value) {
            addCriterion("fileId >=", value, "fileid");
            return (Criteria) this;
        }

        public Criteria andFileidLessThan(String value) {
            addCriterion("fileId <", value, "fileid");
            return (Criteria) this;
        }

        public Criteria andFileidLessThanOrEqualTo(String value) {
            addCriterion("fileId <=", value, "fileid");
            return (Criteria) this;
        }

        public Criteria andFileidLike(String value) {
            addCriterion("fileId like", value, "fileid");
            return (Criteria) this;
        }

        public Criteria andFileidNotLike(String value) {
            addCriterion("fileId not like", value, "fileid");
            return (Criteria) this;
        }

        public Criteria andFileidIn(List<String> values) {
            addCriterion("fileId in", values, "fileid");
            return (Criteria) this;
        }

        public Criteria andFileidNotIn(List<String> values) {
            addCriterion("fileId not in", values, "fileid");
            return (Criteria) this;
        }

        public Criteria andFileidBetween(String value1, String value2) {
            addCriterion("fileId between", value1, value2, "fileid");
            return (Criteria) this;
        }

        public Criteria andFileidNotBetween(String value1, String value2) {
            addCriterion("fileId not between", value1, value2, "fileid");
            return (Criteria) this;
        }

        public Criteria andBelongfolderidIsNull() {
            addCriterion("belongFolderId is null");
            return (Criteria) this;
        }

        public Criteria andBelongfolderidIsNotNull() {
            addCriterion("belongFolderId is not null");
            return (Criteria) this;
        }

        public Criteria andBelongfolderidEqualTo(String value) {
            addCriterion("belongFolderId =", value, "belongfolderid");
            return (Criteria) this;
        }

        public Criteria andBelongfolderidNotEqualTo(String value) {
            addCriterion("belongFolderId <>", value, "belongfolderid");
            return (Criteria) this;
        }

        public Criteria andBelongfolderidGreaterThan(String value) {
            addCriterion("belongFolderId >", value, "belongfolderid");
            return (Criteria) this;
        }

        public Criteria andBelongfolderidGreaterThanOrEqualTo(String value) {
            addCriterion("belongFolderId >=", value, "belongfolderid");
            return (Criteria) this;
        }

        public Criteria andBelongfolderidLessThan(String value) {
            addCriterion("belongFolderId <", value, "belongfolderid");
            return (Criteria) this;
        }

        public Criteria andBelongfolderidLessThanOrEqualTo(String value) {
            addCriterion("belongFolderId <=", value, "belongfolderid");
            return (Criteria) this;
        }

        public Criteria andBelongfolderidLike(String value) {
            addCriterion("belongFolderId like", value, "belongfolderid");
            return (Criteria) this;
        }

        public Criteria andBelongfolderidNotLike(String value) {
            addCriterion("belongFolderId not like", value, "belongfolderid");
            return (Criteria) this;
        }

        public Criteria andBelongfolderidIn(List<String> values) {
            addCriterion("belongFolderId in", values, "belongfolderid");
            return (Criteria) this;
        }

        public Criteria andBelongfolderidNotIn(List<String> values) {
            addCriterion("belongFolderId not in", values, "belongfolderid");
            return (Criteria) this;
        }

        public Criteria andBelongfolderidBetween(String value1, String value2) {
            addCriterion("belongFolderId between", value1, value2, "belongfolderid");
            return (Criteria) this;
        }

        public Criteria andBelongfolderidNotBetween(String value1, String value2) {
            addCriterion("belongFolderId not between", value1, value2, "belongfolderid");
            return (Criteria) this;
        }

        public Criteria andFiletypeIsNull() {
            addCriterion("fileType is null");
            return (Criteria) this;
        }

        public Criteria andFiletypeIsNotNull() {
            addCriterion("fileType is not null");
            return (Criteria) this;
        }

        public Criteria andFiletypeEqualTo(Integer value) {
            addCriterion("fileType =", value, "filetype");
            return (Criteria) this;
        }

        public Criteria andFiletypeNotEqualTo(Integer value) {
            addCriterion("fileType <>", value, "filetype");
            return (Criteria) this;
        }

        public Criteria andFiletypeGreaterThan(Integer value) {
            addCriterion("fileType >", value, "filetype");
            return (Criteria) this;
        }

        public Criteria andFiletypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("fileType >=", value, "filetype");
            return (Criteria) this;
        }

        public Criteria andFiletypeLessThan(Integer value) {
            addCriterion("fileType <", value, "filetype");
            return (Criteria) this;
        }

        public Criteria andFiletypeLessThanOrEqualTo(Integer value) {
            addCriterion("fileType <=", value, "filetype");
            return (Criteria) this;
        }

        public Criteria andFiletypeIn(List<Integer> values) {
            addCriterion("fileType in", values, "filetype");
            return (Criteria) this;
        }

        public Criteria andFiletypeNotIn(List<Integer> values) {
            addCriterion("fileType not in", values, "filetype");
            return (Criteria) this;
        }

        public Criteria andFiletypeBetween(Integer value1, Integer value2) {
            addCriterion("fileType between", value1, value2, "filetype");
            return (Criteria) this;
        }

        public Criteria andFiletypeNotBetween(Integer value1, Integer value2) {
            addCriterion("fileType not between", value1, value2, "filetype");
            return (Criteria) this;
        }

        public Criteria andFilelinkIsNull() {
            addCriterion("fileLink is null");
            return (Criteria) this;
        }

        public Criteria andFilelinkIsNotNull() {
            addCriterion("fileLink is not null");
            return (Criteria) this;
        }

        public Criteria andFilelinkEqualTo(String value) {
            addCriterion("fileLink =", value, "filelink");
            return (Criteria) this;
        }

        public Criteria andFilelinkNotEqualTo(String value) {
            addCriterion("fileLink <>", value, "filelink");
            return (Criteria) this;
        }

        public Criteria andFilelinkGreaterThan(String value) {
            addCriterion("fileLink >", value, "filelink");
            return (Criteria) this;
        }

        public Criteria andFilelinkGreaterThanOrEqualTo(String value) {
            addCriterion("fileLink >=", value, "filelink");
            return (Criteria) this;
        }

        public Criteria andFilelinkLessThan(String value) {
            addCriterion("fileLink <", value, "filelink");
            return (Criteria) this;
        }

        public Criteria andFilelinkLessThanOrEqualTo(String value) {
            addCriterion("fileLink <=", value, "filelink");
            return (Criteria) this;
        }

        public Criteria andFilelinkLike(String value) {
            addCriterion("fileLink like", value, "filelink");
            return (Criteria) this;
        }

        public Criteria andFilelinkNotLike(String value) {
            addCriterion("fileLink not like", value, "filelink");
            return (Criteria) this;
        }

        public Criteria andFilelinkIn(List<String> values) {
            addCriterion("fileLink in", values, "filelink");
            return (Criteria) this;
        }

        public Criteria andFilelinkNotIn(List<String> values) {
            addCriterion("fileLink not in", values, "filelink");
            return (Criteria) this;
        }

        public Criteria andFilelinkBetween(String value1, String value2) {
            addCriterion("fileLink between", value1, value2, "filelink");
            return (Criteria) this;
        }

        public Criteria andFilelinkNotBetween(String value1, String value2) {
            addCriterion("fileLink not between", value1, value2, "filelink");
            return (Criteria) this;
        }

        public Criteria andFileaddressIsNull() {
            addCriterion("fileAddress is null");
            return (Criteria) this;
        }

        public Criteria andFileaddressIsNotNull() {
            addCriterion("fileAddress is not null");
            return (Criteria) this;
        }

        public Criteria andFileaddressEqualTo(String value) {
            addCriterion("fileAddress =", value, "fileaddress");
            return (Criteria) this;
        }

        public Criteria andFileaddressNotEqualTo(String value) {
            addCriterion("fileAddress <>", value, "fileaddress");
            return (Criteria) this;
        }

        public Criteria andFileaddressGreaterThan(String value) {
            addCriterion("fileAddress >", value, "fileaddress");
            return (Criteria) this;
        }

        public Criteria andFileaddressGreaterThanOrEqualTo(String value) {
            addCriterion("fileAddress >=", value, "fileaddress");
            return (Criteria) this;
        }

        public Criteria andFileaddressLessThan(String value) {
            addCriterion("fileAddress <", value, "fileaddress");
            return (Criteria) this;
        }

        public Criteria andFileaddressLessThanOrEqualTo(String value) {
            addCriterion("fileAddress <=", value, "fileaddress");
            return (Criteria) this;
        }

        public Criteria andFileaddressLike(String value) {
            addCriterion("fileAddress like", value, "fileaddress");
            return (Criteria) this;
        }

        public Criteria andFileaddressNotLike(String value) {
            addCriterion("fileAddress not like", value, "fileaddress");
            return (Criteria) this;
        }

        public Criteria andFileaddressIn(List<String> values) {
            addCriterion("fileAddress in", values, "fileaddress");
            return (Criteria) this;
        }

        public Criteria andFileaddressNotIn(List<String> values) {
            addCriterion("fileAddress not in", values, "fileaddress");
            return (Criteria) this;
        }

        public Criteria andFileaddressBetween(String value1, String value2) {
            addCriterion("fileAddress between", value1, value2, "fileaddress");
            return (Criteria) this;
        }

        public Criteria andFileaddressNotBetween(String value1, String value2) {
            addCriterion("fileAddress not between", value1, value2, "fileaddress");
            return (Criteria) this;
        }

        public Criteria andFalsedeletionIsNull() {
            addCriterion("falseDeletion is null");
            return (Criteria) this;
        }

        public Criteria andFalsedeletionIsNotNull() {
            addCriterion("falseDeletion is not null");
            return (Criteria) this;
        }

        public Criteria andFalsedeletionEqualTo(Integer value) {
            addCriterion("falseDeletion =", value, "falsedeletion");
            return (Criteria) this;
        }

        public Criteria andFalsedeletionNotEqualTo(Integer value) {
            addCriterion("falseDeletion <>", value, "falsedeletion");
            return (Criteria) this;
        }

        public Criteria andFalsedeletionGreaterThan(Integer value) {
            addCriterion("falseDeletion >", value, "falsedeletion");
            return (Criteria) this;
        }

        public Criteria andFalsedeletionGreaterThanOrEqualTo(Integer value) {
            addCriterion("falseDeletion >=", value, "falsedeletion");
            return (Criteria) this;
        }

        public Criteria andFalsedeletionLessThan(Integer value) {
            addCriterion("falseDeletion <", value, "falsedeletion");
            return (Criteria) this;
        }

        public Criteria andFalsedeletionLessThanOrEqualTo(Integer value) {
            addCriterion("falseDeletion <=", value, "falsedeletion");
            return (Criteria) this;
        }

        public Criteria andFalsedeletionIn(List<Integer> values) {
            addCriterion("falseDeletion in", values, "falsedeletion");
            return (Criteria) this;
        }

        public Criteria andFalsedeletionNotIn(List<Integer> values) {
            addCriterion("falseDeletion not in", values, "falsedeletion");
            return (Criteria) this;
        }

        public Criteria andFalsedeletionBetween(Integer value1, Integer value2) {
            addCriterion("falseDeletion between", value1, value2, "falsedeletion");
            return (Criteria) this;
        }

        public Criteria andFalsedeletionNotBetween(Integer value1, Integer value2) {
            addCriterion("falseDeletion not between", value1, value2, "falsedeletion");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}